﻿﻿using System;
using System.Collections.Generic;
using System.Text;
namespace WebApplication1.DDD.Models.Entity.ConnectionString_SQLSERVER
{
    public class Member_SuCai:NFinal.Struct
    {
		public System.Int64? Sn {get;set;}
		public System.DateTime? AddTime {get;set;}
		public System.DateTime? UpdateTime {get;set;}
		public System.Int32? IIS {get;set;}
		public System.String Type {get;set;}
		public System.Int64? ParentSn {get;set;}
		public System.String Title {get;set;}
		public System.String FengMianUrl {get;set;}
		public System.String Summary {get;set;}
		public System.String Info {get;set;}
		public System.String UrlWaiLian {get;set;}
		public System.String UrlYuanWen {get;set;}
		public System.String Author {get;set;}
		#region 写Json字符串
		public override void WriteJson(System.IO.TextWriter tw)
		{
			tw.Write("{");
					tw.Write("\"Sn\":");
					tw.Write(Sn==null?"null" : Sn.ToString());
					tw.Write(",");
					tw.Write("\"AddTime\":");
					tw.Write("\"");
					tw.Write(AddTime==null?"null":AddTime.ToString());
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"UpdateTime\":");
					tw.Write("\"");
					tw.Write(UpdateTime==null?"null":UpdateTime.ToString());
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"IIS\":");
					tw.Write(IIS==null?"null" : IIS.ToString());
					tw.Write(",");
					tw.Write("\"Type\":");
					tw.Write("\"");
					tw.Write(Type==null?"null":Type);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"ParentSn\":");
					tw.Write(ParentSn==null?"null" : ParentSn.ToString());
					tw.Write(",");
					tw.Write("\"Title\":");
					tw.Write("\"");
					tw.Write(Title==null?"null":Title);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"FengMianUrl\":");
					tw.Write("\"");
					tw.Write(FengMianUrl==null?"null":FengMianUrl);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"Summary\":");
					tw.Write("\"");
					tw.Write(Summary==null?"null":Summary);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"Info\":");
					tw.Write("\"");
					tw.Write(Info==null?"null":Info);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"UrlWaiLian\":");
					tw.Write("\"");
					tw.Write(UrlWaiLian==null?"null":UrlWaiLian);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"UrlYuanWen\":");
					tw.Write("\"");
					tw.Write(UrlYuanWen==null?"null":UrlYuanWen);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"Author\":");
					tw.Write("\"");
					tw.Write(Author==null?"null":Author);
					tw.Write("\"");
			tw.Write("}");
		}
		#endregion
    }
}
